int main()
	{
		int rport=7, leftmtr=0, rghtmtr=3;
		int threshold=512;
		int high=600,low=400;
		printf("Line folllowing: position robot on tape\n");
		printf("Press B button when ready\n\nPress black button to stop\n");
		while(b_button()==0) {}
		while(black_button()==0){
			while (analog10(rport) > threshold) {
				mav(leftmtr,low); mav(rghtmtr,high);
				if (black_button()!=0) break; }
			while (analog10(rport) <= threshold){
				mav(leftmtr,high); mav(rghtmtr,low);
				if (black_button()!=0) break; }
		}
		ao();
	printf("All Done Boi!!!!\n");
	return 0;
	  }	
